import BaseApi from '@/api/baseApi';
import Permission from '@/structure/permission';

/**
 * 权限
 */
class PermissionApi extends BaseApi<Permission> {
  public getBase(): string {
    return 'user/user/permission';
  }

  public getIdFieldName(): string {
    return 'permissionKey';
  }
}

export default new PermissionApi();


